function act() {
    var em = rm.getEventManager("CWKPQ");
    if (em != null) {
        rm.mapMessage(6, "The Mage Sigil has been activated!");
        em.setProperty("glpq4", parseInt(em.getProperty("glpq4")) + 1);
        if (em.getProperty("glpq4").equals("5")) { //all 5 done
            rm.mapMessage(6, "The Antellion grants you access to the next portal! Proceed!");
            rm.getMap().changeEnvironment("4pt", 2);
        }
    }
}